<%@page import="java.util.StringTokenizer"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>String Tokenizer Example</title>
</head>
<body>
<%
	String str = "2014/09/15";
	StringTokenizer st = new StringTokenizer(str, "/");
%>
Token 갯수: <%= st.countTokens() %> 개<br/><br/>
<%
while (st.hasMoreTokens()) {
	out.println("Next Token: " + st.nextToken() + "<br/>");
}
%>

</body>
</html>